package org.pr.ddddesigner.domain.aggregation.model.transfer;

import com.lion.commons.assembler.EntityToPoAssembler;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;
import org.pr.ddddesigner.domain.aggregation.model.User;
import org.pr.ddddesigner.domain.aggregation.model.repository.po.UserPo;

/**
 * @description:
 * @projectName:DDD-Designer
 * @see:org.pr.ddddesigner.domain.aggregation.model.transfer
 * @author:LXC
 * @createTime:2024/4/19 14:23
 * @version:1.0
 */
@Mapper(componentModel = "spring")
public interface UserEntityToPo extends EntityToPoAssembler<User, UserPo> {

    /**
     * 实体转PO
     * @param entity :

     */
    @Mappings({})
    @Override UserPo toPo(User entity);
}
